package com.qf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Cart)实体类
 *
 * @author makejava
 * @since 2023-05-17 14:44:56
 */

@TableName("cart")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart {
    @TableId(value = "cart_id", type = IdType.AUTO)
    private Integer cartId;

    private String patientId;

    private Integer goodsId;

    private Integer goodsNum;

    private Float goodsValue;

    private Integer cartDelete;

    @TableField(exist = false)
    private String goodsName;

    @TableField(exist = false)
    private String goodsDesc;

    @TableField(exist = false)
    private Float goodsPrice;
}

